package com.lvt.example.thinking.in.spring.questions.L20.bean.dependcy;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

/**
 * desc：CassandraDataService
 *
 * @author LT
 * @date 2022/10/16
 */
//修改方式一 设置优先级
//@Primary
@Repository
@Slf4j
public class CassandraDataService implements DataService{
    @Override
    public void deleteStudent(int id) {
        log.info("delete student info maintained by cassandra");
    }
}